<template>
  <el-table :data="tableData" style="width: 100%" border>
    <el-table-column prop="date" label="投票选项" width="150" />
    <el-table-column prop="name" :label="item.name" min-width="180" v-for="(item,index1) in tableData2" :key="index1">
      <template #default="scope">
        <div class="a" v-for="(item2,index) in item.arr" :key="index">{{item2}}</div>
      </template>
    </el-table-column>
  </el-table>
</template>

<script  setup>
const tableData = [
  {
    date: '投票人员',
    name: 'Tom',
    address: 'No. 189, Grove St, Los Angeles',
  },
]

const tableData2 = [
  {
    name: '选项一',
    arr: ['joe','joe','joe','joe'],
  },
  {
    name: '选项二',
    arr: ['joe','joe',],
  },
  {
    name: '选项三',
    arr: ['joe','joe','joe'],
  },
  {
    name: '选项四',
    arr: ['joe','joe','joe','joe'],
  },
]

// 想到了一个那个，准湿，意识在创造跑步那个搞笑的视频，出来个念头都不能接受，心大了能容纳的就多了，
// 在真实自我这里都能允许都能接纳，
</script>
